﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master/Detail.Master" AutoEventWireup="true"
    CodeBehind="OwnerEdit.aspx.cs" Inherits="MTC.Web.Forms.OwnerEdit" %>

<%@ Register Src="../Controls/NavMenu.ascx" TagName="NavMenu" TagPrefix="uc1" %>
<%@ Register Assembly="DevExpress.Web.v9.1, Version=9.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxTabControl" TagPrefix="dxtc" %>
<%@ Register Assembly="DevExpress.Web.v9.1, Version=9.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxClasses" TagPrefix="dxw" %>
<%@ Register assembly="DevExpress.Web.ASPxEditors.v9.1, Version=9.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxEditors" tagprefix="dxe" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CPHeader" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="CPNav" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="CPMain" runat="server">
    <asp:HiddenField ID="hfOwnerId" runat="server" />
    <dxtc:ASPxPageControl ID="ASPxPageControl1" runat="server" ActiveTabIndex="0" Width="600px"
        CssFilePath="~/App_Themes/Soft Orange/{0}/styles.css" CssPostfix="Soft_Orange"
        ImageFolder="~/App_Themes/Soft Orange/{0}/" LoadingPanelText="" 
        TabSpacing="2px">
        <TabPages>
            <dxtc:TabPage Text="General">
                <ContentCollection>
                    <dxw:ContentControl runat="server">
                        <table>
                            <tr>
                                <td>
                                    <dxe:ASPxLabel ID="lblFirstName" runat="server" Text="First Name"></dxe:ASPxLabel>
                                </td>
                                <td>
                                    <dxe:ASPxTextBox ID="txtFirstName" runat="server"></dxe:ASPxTextBox>
                                </td>
                                <td>
                                    <dxe:ASPxLabel ID="lblLastName" runat="server" Text="Last Name"></dxe:ASPxLabel>
                                </td>
                                <td>
                                    <dxe:ASPxTextBox ID="txtLastName" runat="server"></dxe:ASPxTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <dxe:ASPxLabel ID="lblCompanyName" runat="server" Text="Company Name"></dxe:ASPxLabel>
                                </td>
                                <td colspan="3">
                                    <dxe:ASPxTextBox ID="txtCompanyName" runat="server"></dxe:ASPxTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <dxe:ASPxLabel ID="lblTitle" runat="server" Text="Title"></dxe:ASPxLabel>
                                </td>
                                <td>
                                    <dxe:ASPxTextBox ID="txtTitle" runat="server"></dxe:ASPxTextBox>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <dxe:ASPxLabel ID="lblStreet1" runat="server" Text="Street 1"></dxe:ASPxLabel>
                                </td>
                                <td colspan="2">
                                    <dxe:ASPxTextBox ID="txtStreet1" runat="server" Width="210px"></dxe:ASPxTextBox>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <dxe:ASPxLabel ID="lblStreet2" runat="server" Text="Street 2"></dxe:ASPxLabel>
                                </td>
                                <td colspan="2">
                                    <dxe:ASPxTextBox ID="txtStreet2" runat="server" Width="208px"></dxe:ASPxTextBox>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <dxe:ASPxLabel ID="lblSuburb" runat="server" Text="Suburb"></dxe:ASPxLabel>
                                </td>
                                <td>
                                    <dxe:ASPxTextBox ID="txtSuburb" runat="server"></dxe:ASPxTextBox>
                                </td>
                                <td>
                                    <dxe:ASPxLabel ID="lblState" runat="server" Text="State"></dxe:ASPxLabel>
                                </td>
                                <td>
                                    <dxe:ASPxTextBox ID="txtState" runat="server"></dxe:ASPxTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <dxe:ASPxLabel ID="lblPostCode" runat="server" Text="Postcode"></dxe:ASPxLabel>
                                </td>
                                <td>
                                    <dxe:ASPxTextBox ID="txtPostCode" runat="server"></dxe:ASPxTextBox>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <dxe:ASPxLabel ID="lblPhone" runat="server" Text="Phone"></dxe:ASPxLabel>
                                </td>
                                <td>
                                    <dxe:ASPxTextBox ID="txtPhone" runat="server"></dxe:ASPxTextBox>
                                </td>
                                <td>
                                    <dxe:ASPxLabel ID="lblMobile" runat="server" Text="Mobile"></dxe:ASPxLabel>
                                </td>
                                <td>
                                    <dxe:ASPxTextBox ID="txtMobile" runat="server"></dxe:ASPxTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <dxe:ASPxLabel ID="lblABN" runat="server" Text="ABN"></dxe:ASPxLabel>
                                </td>
                                <td colspan="3">
                                    <dxe:ASPxTextBox ID="txtABN" runat="server" Width="372px"></dxe:ASPxTextBox>
                                </td>
                            </tr>
                        </table>
                    </dxw:ContentControl>
                </ContentCollection>
            </dxtc:TabPage>
        </TabPages>
        <ContentStyle>
            <Border BorderColor="LightGray" BorderStyle="Solid" BorderWidth="3px" />
        </ContentStyle>
        <Paddings Padding="4px" />
    </dxtc:ASPxPageControl>
    <table width="600px">
        <tr>
            <td>
                &nbsp;<dxe:ASPxLabel ID="lblMessage" runat="server" ForeColor="red"></dxe:ASPxLabel>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Button ID="btnUpdate" runat="server" Text="Update" OnClick="btnUpdate_Click" />&nbsp;<asp:Button
                    ID="btnCancel" runat="server" Text="Cancel" OnClick="btnCancel_Click" />
            </td>
        </tr>
    </table>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="CPSideBar" runat="server">
    <uc1:NavMenu ID="NavMenu1" runat="server" />
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="CPFooter" runat="server">
</asp:Content>
